package com.sgb.kjwl.model.entity.user;

import java.io.Serializable;
import java.util.List;

/**
 * @author qiangHeNoooo
 * 时间：2021.09.06
 * 说明：商品服务--其他属性
 */

public class ServerAttrValue implements Serializable {
    private int serviceType;
    private List<GoodsServiceOtherAttr> value;

    public int getServiceType() {
        return serviceType;
    }

    public void setServiceType(int serviceType) {
        this.serviceType = serviceType;
    }

    public List<GoodsServiceOtherAttr> getValue() {
        return value;
    }

    public void setValue(List<GoodsServiceOtherAttr> value) {
        this.value = value;
    }

    public static class GoodsServiceOtherAttr implements Serializable {
        private int serverCustomed;
        private int serverId;
        private String serverName;
        private List<OtherAttrValue> value;

        public int getServerCustomed() {
            return serverCustomed;
        }

        public void setServerCustomed(int serverCustomed) {
            this.serverCustomed = serverCustomed;
        }

        public int getServerId() {
            return serverId;
        }

        public void setServerId(int serverId) {
            this.serverId = serverId;
        }

        public String getServerName() {
            return serverName;
        }

        public void setServerName(String serverName) {
            this.serverName = serverName;
        }

        public List<OtherAttrValue> getValue() {
            return value;
        }

        public void setValue(List<OtherAttrValue> value) {
            this.value = value;
        }

        public static class OtherAttrValue implements Serializable {
            //        "attributeId": 0, 属性id
            //        "attributeName": "",属性名称
            //        "checked": 0, 未选中
            //        "customed": 0,是否自定义属性
            //        "id": 0,服务id
            //        "serverId": 0,服务id
            //        "serverName": "",服务名
            //        "sort": 0 分类
            private int attributeId;
            private String attributeName;
            private int checked;
            private int customed;
            private int id;
            private int serverId;
            private String serverName;
            private int sort;

            public int getAttributeId() {
                return attributeId;
            }

            public void setAttributeId(int attributeId) {
                this.attributeId = attributeId;
            }

            public String getAttributeName() {
                return attributeName;
            }

            public void setAttributeName(String attributeName) {
                this.attributeName = attributeName;
            }

            public int getChecked() {
                return checked;
            }

            public void setChecked(int checked) {
                this.checked = checked;
            }

            public int getCustomed() {
                return customed;
            }

            public void setCustomed(int customed) {
                this.customed = customed;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getServerId() {
                return serverId;
            }

            public void setServerId(int serverId) {
                this.serverId = serverId;
            }

            public String getServerName() {
                return serverName;
            }

            public void setServerName(String serverName) {
                this.serverName = serverName;
            }

            public int getSort() {
                return sort;
            }

            public void setSort(int sort) {
                this.sort = sort;
            }
        }
    }
}
